<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>
<?php
include_once "function_sec_ipmac.php";

$in_array['Ip']= $_POST['ip'];
$in_array['Mac']= $_POST['mac'];
$in_array['Dev']= $_POST['dev'];
$in_array['Enabled']= 1;

SetXmlSecOneBind($in_array);

echo("<meta http-equiv='refresh'content=0;URL='sec_policy_macbind.php'>");
?>
